//
//  toolHelp.h
//  GC_OC
//
//  Created by 叶建辉 on 2022/6/19.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef void (^McBack)(id obj);
@interface toolHelp : NSObject
+(void)DownLoadResourcesWithUrl:(NSString *)url fileName:(NSString *)fileName downLoading:(McBack)jhprogress downLoadEnd:(McBack)back;
+(NSString *)convertToJsonData:(NSDictionary *)dict;
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
+(void)saveHistoryData:(NSDictionary *)dataDic andID:(NSString *)ablid;
+(NSString *)timeFormatted:(int)totalSeconds;
+(NSString *)getVideoLengthFromTimeLength:(float)timeLength;
+(NSInteger)getToInt:(NSString*)strtemp;
+(NSArray *)get32String:(NSString *)str andFont:(float)font;
@end

NS_ASSUME_NONNULL_END
